body {
    background-image: url('../img/bj.jpg'); /* 替换为您的背景图片路径 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
    display: flex;
    flex-direction: column; /* 将主体与 footer 分离 */
    min-height: 100vh;
}

.container {
    flex: 1; /* 使内容部分占据剩余高度 */
    width: 90%;
    max-width: 600px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 20px 30px;
    text-align: center;
    margin: 20px auto; /* 居中内容 */
}

.container h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #4CAF50;
}

.order-box {
    border-top: 2px solid #4CAF50;
    padding-top: 20px;
    text-align: left;
}

.order-summary p {
    font-size: 1rem;
    margin: 10px 0;
    line-height: 1.5;
}

.order-summary strong {
    color: #555;
}

.payment-status {
    margin-top: 20px;
    font-size: 1.2rem;
    color: #e74c3c;
}

.payment-status strong {
    font-weight: bold;
    color: #27ae60;
}

.user-actions {
    display: flex;
    justify-content: space-between; /* 左右两端对齐 */
    align-items: center; /* 垂直居中 */
    margin-top: 20px;
}

.user-actions a {
    text-decoration: none;
    text-align: center;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background: #4CAF50;
    transition: all 0.3s ease;
    flex: 0 0 auto; /* 确保按钮不会拉伸 */
}

.user-actions a:hover {
    background: #388E3C;
}

.back-button {
    background: #bdc3c7;
}

.back-button:hover {
    background: #7f8c8d;
}

.page-footer {
    background: rgba(0, 0, 0, 0.8); /* Footer 背景色 */
    color: #fff; /* 字体颜色 */
    text-align: center;
    padding: 10px 20px;
    width: 100%;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2); /* 顶部阴影 */
}

.page-footer {
    display: block; /* 确保 Thymeleaf 块按标准渲染 */
}

.page-footer a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

.page-footer a:hover {
    color: #388E3C;
}